;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-sanjiao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M1024 210.944 512 813.056 0 210.944Z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-duihao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M1011.801043 187.280696c-8.704-8.659478-22.79513-8.659478-31.47687 0.066783L375.206957 794.802087 54.650435 472.954435c-8.659478-8.704-22.77287-8.726261-31.47687-0.066783-8.726261 8.681739-8.748522 22.77287-0.066783 31.47687l336.339478 337.697391c4.185043 4.185043 9.839304 6.544696 15.760696 6.544696s11.597913-2.359652 15.760696-6.544696l620.877913-623.304348C1020.527304 210.053565 1020.505043 195.940174 1011.801043 187.280696z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-wenjian" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M736.005 696.494H174.18c-17.673 0-32-14.327-32-32V255.582c0-17.673 14.327-32 32-32h157.213c7.96 0 15.635 2.967 21.525 8.321l47.547 43.222h335.54c17.673 0 32 14.327 32 32v357.369c0 17.673-14.327 32-32 32z m-529.825-64h497.825V339.125H388.094a32.002 32.002 0 0 1-21.525-8.321l-47.547-43.222H206.18v344.912z" fill="" ></path>' +
    '' +
    '<path d="M853.18 821.092H317.509c-17.673 0-32-14.327-32-32s14.327-32 32-32H821.18V414.206c0-17.673 14.327-32 32-32s32 14.327 32 32v374.886c0 17.673-14.327 32-32 32z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-yun" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M739.333 788.674H284.667C182.841 788.674 100 705.833 100 604.007c0-101.826 82.841-184.667 184.667-184.667 6.732 0 13.452 0.376 20.139 1.126 9.245-109.143 101.033-195.14 212.527-195.14 111.199 0 202.797 85.539 212.451 194.271a178.25 178.25 0 0 1 9.549-0.257C841.159 419.34 924 502.181 924 604.007c0 101.826-82.841 184.667-184.667 184.667zM284.667 483.34C218.131 483.34 164 537.471 164 604.007s54.131 120.667 120.667 120.667h454.666c66.536 0 120.667-54.131 120.667-120.667S805.869 483.34 739.333 483.34c-10.869 0-21.95 1.578-32.938 4.689a32.003 32.003 0 0 1-40.555-34.039c0.521-5.094 0.784-10.266 0.784-15.372 0-82.32-66.972-149.292-149.292-149.292-82.32 0-149.292 66.972-149.292 149.292 0 5.497 0.405 11.35 1.275 18.419a32 32 0 0 1-42.862 33.919c-13.664-5.054-27.723-7.616-41.786-7.616z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-anquan" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M514.145 907.826c-4.503 0-9.009-0.983-13.186-2.955-2.99-1.411-74.065-35.17-146.179-88.15C252.808 741.803 201.104 667.374 201.104 595.5v-411c0-15.493 11.475-28.591 26.833-30.628l282.145-37.429a30.96 30.96 0 0 1 8.188 0.008l277.855 37.429c15.331 2.065 26.771 15.15 26.771 30.62v411c0 69.353-50.867 142.982-151.188 218.846-70.925 53.633-140.815 88.755-143.757 90.224a30.892 30.892 0 0 1-13.806 3.256zM262.896 211.568V595.5c0 26.678 12.581 56.058 37.391 87.326 21.695 27.34 52.338 55.635 91.078 84.096 49.419 36.309 99.151 63.345 122.399 75.294 23.103-12.503 72.58-40.705 121.36-77.679 38.047-28.839 68.136-57.207 89.432-84.317 24.251-30.873 36.547-59.377 36.547-84.72V211.513l-246.99-33.271-251.217 33.326z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-USB" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M896.101 448c-23.685 0-44.349 12.876-55.417 32H382.877v-70.21h73.908c11.134 18.86 31.654 31.52 55.141 31.52 35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64-23.883 0-44.695 13.091-55.692 32.48H350.877c-17.673 0-32 14.327-32 32V480H249.06c-14.229-35.207-48.729-60.05-89.035-60.05-53.019 0-96 42.981-96 96s42.981 96 96 96c43.26 0 79.832-28.616 91.832-67.95h228.456v101.956c0 17.673 14.327 32 32 32H647.66c11.118 18.922 31.672 31.633 55.206 31.633 35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64-23.836 0-44.613 13.041-55.628 32.367H544.313V544h296.371c11.067 19.124 31.732 32 55.417 32 35.346 0 64-28.654 64-64 0-35.346-28.653-64-64-64z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-shouye" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M98.033 480.211c-10.115 0-20.065-4.783-26.285-13.712-10.102-14.501-6.536-34.446 7.966-44.548l414.033-288.425a32.003 32.003 0 0 1 37.505 0.667l384.137 288.424c14.133 10.612 16.987 30.671 6.376 44.804s-30.67 16.988-44.804 6.375L511.335 199.272l-395.04 275.193a31.845 31.845 0 0 1-18.262 5.746zM831.241 927.64H608.515c-17.673 0-32-14.327-32-32V671.965H448.118V895.64c0 17.673-14.327 32-32 32H188.589c-17.673 0-32-14.327-32-32V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V863.64h163.529V639.965c0-17.673 14.327-32 32-32h192.397c17.673 0 32 14.327 32 32V863.64h158.727V513.167c0-17.673 14.327-32 32-32s32 14.327 32 32V895.64c-0.001 17.672-14.328 32-32.001 32z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-baocun" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M819.823 83.694H206.991c-67.703 0-122.588 54.885-122.588 122.588v612.833c0 67.703 54.885 122.588 122.588 122.588h612.833c67.703 0 122.588-54.885 122.588-122.588V206.282c-0.001-67.703-54.885-122.588-122.589-122.588z m-124.435 63.313v241.142H331.772V147.007h363.616z m185.787 672.274c0.027 33.765-27.323 61.158-61.088 61.185H207.133c-16.389 0-31.864-6.297-43.454-17.887s-18.039-26.91-18.039-43.298v-612.94c0.061-33.923 27.57-61.395 61.493-61.41h61.327v245.294c-0.05 33.771 27.286 61.187 61.057 61.237h367.888c33.853 0 61.299-27.387 61.299-61.237V144.931h61.206c33.872 0.036 61.301 27.524 61.265 61.396V819.281z" fill="" ></path>' +
    '' +
    '<path d="M574.817 329.936c17.483 0 31.656-14.173 31.656-31.656v-61.292c0-17.483-14.173-31.656-31.656-31.656s-31.656 14.173-31.656 31.656v61.292c0 17.483 14.173 31.656 31.656 31.656z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-xia" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M904 332c0-8.189-3.124-16.379-9.372-22.628-12.497-12.496-32.759-12.496-45.256 0L512 646.745 174.628 309.372c-12.497-12.496-32.758-12.496-45.255 0-12.497 12.498-12.497 32.758 0 45.256l360 360c12.497 12.496 32.758 12.496 45.255 0l360-360C900.876 348.379 904 340.189 904 332z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-zuo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M481.233 904c8.189 0 16.379-3.124 22.628-9.372 12.496-12.497 12.496-32.759 0-45.256L166.488 512l337.373-337.373c12.496-12.497 12.496-32.758 0-45.255-12.498-12.497-32.758-12.497-45.256 0l-360 360c-12.496 12.497-12.496 32.758 0 45.255l360 360c6.249 6.249 14.439 9.373 22.628 9.373z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-biaoqian" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M920.528912 444.49616l-340.111125-340.114737a135.932464 135.932464 0 0 0-96.155899-39.758503L200.418112 64.662657h-0.018063C125.275769 64.662657 64.301413 125.40943 64.301413 200.548159v283.673992a136.091412 136.091412 0 0 0 39.881326 96.199248l340.230335 340.241173a136.022775 136.022775 0 0 0 192.369598 0l283.74624-283.76069c53.128139-53.131752 53.128139-139.277583 0-192.405722z m-45.209673 147.192436l-283.746241 283.760691a72.064544 72.064544 0 0 1-101.924964 0l-340.212273-340.241173A72.187367 72.187367 0 0 1 128.241582 484.218538V200.548159A72.021195 72.021195 0 0 1 200.396437 128.602826l283.843776-0.039737a71.887535 71.887535 0 0 1 50.935389 21.053294l340.114737 340.1039a72.104281 72.104281 0 0 1 0.0289 101.968313z" fill="" ></path>' +
    '' +
    '<path d="M384.002258 255.999097c-70.69543 0-128.003161 57.307731-128.003161 128.003161S313.306828 511.998194 384.002258 511.998194s127.999548-57.307731 127.999548-127.999549S454.690463 255.999097 384.002258 255.999097z m45.296371 173.29592a64.059379 64.059379 0 1 1 18.759396-45.292759 63.640337 63.640337 0 0 1-18.763008 45.292759z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-daxiao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.998194 64.00158c-247.423167 0-447.996613 200.573446-447.996614 447.996614S264.575027 959.99842 511.998194 959.99842s448.000226-200.577059 448.000226-448.000226S759.421361 64.00158 511.998194 64.00158zM865.90161 661.473692a382.654818 382.654818 0 1 1 22.35016-72.003133A383.930009 383.930009 0 0 1 865.90161 661.473692z" fill="" ></path>' +
    '' +
    '<path d="M383.821636 384.027545a31.970084 31.970084 0 0 0 31.970084-31.970085V288.059492a31.970084 31.970084 0 0 0-63.940169 0v63.997968a31.970084 31.970084 0 0 0 31.970085 31.970085zM639.943556 384.027545a31.970084 31.970084 0 0 0 31.970084-31.970085V288.059492a31.970084 31.970084 0 0 0-63.940169 0v63.997968a31.970084 31.970084 0 0 0 31.970085 31.970085zM812.459189 482.549592a31.868936 31.868936 0 0 0-12.459302-2.528708c-0.671914 0-1.336602 0.021675-1.997679 0.065024H225.997792a33.241663 33.241663 0 0 0-1.997679-0.065024 32.027884 32.027884 0 0 0-31.998984 32.035109q0 0.798349 0.039737 1.58586a319.964553 319.964553 0 0 0 639.907431 1.784545 32.345778 32.345778 0 0 0 0.177009-3.370405 31.977309 31.977309 0 0 0-19.666117-29.506401z m-119.420006 210.489591A255.977422 255.977422 0 0 1 257.928139 544.033302h508.129272a255.142949 255.142949 0 0 1-73.018228 149.005881z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-biaoge" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M959.825022 384.002258V191.939717C959.825022 121.2479 902.517291 63.940169 831.825474 63.940169H191.939717C121.2479 63.940169 63.940169 121.2479 63.940169 191.939717v639.885757C63.940169 902.517291 121.2479 959.825022 191.939717 959.825022h639.885757c70.691817 0 127.999548-57.307731 127.999548-127.999548V384.002258zM146.66502 146.66502a63.737872 63.737872 0 0 1 45.336109-18.784682h639.997742A63.961844 63.961844 0 0 1 895.884854 192.001129V320.062089H127.880338V192.001129A63.737872 63.737872 0 0 1 146.66502 146.66502z m269.1267 461.308451v-223.971213h192.181751v223.971213h-192.181751z m192.181751 63.940169v223.971214h-192.181751v-223.971214h192.181751z m-256.12192-63.940169H127.880338v-223.971213h223.971213v223.971213z m-205.186531 269.235073a63.466939 63.466939 0 0 1-18.784682-45.209673V671.91364h223.971213v223.971214H192.001129a63.625887 63.625887 0 0 1-45.336109-18.67631z m749.219834-45.209673A63.763159 63.763159 0 0 1 831.998871 895.884854H671.91364v-223.971214h223.971214v160.085231z m0-224.0254h-223.971214v-223.971213h223.971214v223.971213z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-chuangjianshili" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M832.125306 63.940169H192.127564C121.432134 63.940169 64.301413 121.070891 64.301413 191.76632V831.764063c0 70.691817 57.221033 128.03206 127.91285 128.03206l-0.086699 0.028899H832.125306v-0.028899a128.436654 128.436654 0 0 0 28.050589-3.099473c0.505741-0.111986 1.00787-0.234809 1.509999-0.361244q4.797319-1.134306 9.453753-2.626243l1.047607-0.343181q1.77732-0.585215 3.529353-1.221005l0.787512-0.288995q1.701459-0.628564 3.381243-1.307703 1.444976-0.581603 2.889951-1.199329 0.881435-0.379306 1.755645-0.773062t1.831507-0.841699q1.311315-0.614115 2.604568-1.253516l0.057799-0.028899q3.879759-1.929042 7.586122-4.107343a128.602826 128.602826 0 0 0 33.234438-27.898866l0.166172-0.195072q1.827894-2.167463 3.558252-4.410788l0.33957-0.440717a127.815314 127.815314 0 0 0 17.234946-30.420349l0.242033-0.614114a127.356534 127.356534 0 0 0 8.492844-38.385776q0.050574-0.816411 0.093923-1.632823c0.054187-1.083732 0.126435-2.167463 0.155335-3.283707s0.072249-2.199975 0.072249-3.305381V191.76632C960.186266 121.070891 902.817124 63.940169 832.125306 63.940169zM192.127564 895.884854A64.005193 64.005193 0 0 1 128.241582 831.764063V511.882596h127.880338v63.88237A127.858663 127.858663 0 0 0 384.125081 703.703103H640.124178a127.699716 127.699716 0 0 0 127.880338-127.938137v-64.001581l0.11921 0.119211H896.246097v319.881467a63.578925 63.578925 0 0 1-12.585737 38.053431 65.20091 65.20091 0 0 1-6.249519 7.199591c-0.361244 0.361244-0.773062 0.751387-1.159593 1.116244-0.722488 0.693588-1.473875 1.361889-2.228875 2.015741a66.046221 66.046221 0 0 1-4.540836 3.594376c-0.614115 0.44433-1.235454 0.881435-1.864018 1.300478s-1.289641 0.838086-1.943492 1.242679q-2.051865 1.267966-4.186817 2.36976-0.675526 0.361244-1.361889 0.682751-1.224617 0.596052-2.474521 1.141531-1.589473 0.689976-3.215071 1.293253-0.559928 0.205909-1.119856 0.404593-1.116244 0.390143-2.246937 0.722488-1.640047 0.505741-3.308994 0.924784l-0.079474 0.018063q-2.037416 0.505741-4.11818 0.877822c-0.885048 0.158947-1.773708 0.361244-2.66598 0.480455a64.962489 64.962489 0 0 1-8.771002 0.657463H192.127564z m575.996162-447.942427c-35.347715 0-64.059379 28.476856-64.059379 63.820958v64.001581c0 35.347715-28.592454 63.997968-63.940169 63.997968h-255.999097C348.780978 639.762934 320.062089 611.109068 320.062089 575.764966v-64.001581c0-35.347715-28.588842-63.820958-63.940169-63.820958H128.241582V191.76632A63.802896 63.802896 0 0 1 192.127564 127.880338H832.125306A64.005193 64.005193 0 0 1 896.246097 191.76632V447.942427h-128.122371z" fill="" ></path>' +
    '' +
    '<path d="M640.124178 351.851551h-96.090876V255.760676a31.970084 31.970084 0 1 0-63.940169 0v96.090875h-95.968052a31.970084 31.970084 0 1 0 0 63.940169H480.093133v95.971665a31.970084 31.970084 0 1 0 63.940169 0V415.79172h96.090876a31.970084 31.970084 0 1 0 0-63.940169z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-shuaxin" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M927.999436 531.028522a31.998984 31.998984 0 0 0-31.998984 31.998984c0 51.852948-10.147341 102.138098-30.163865 149.461048a385.47252 385.47252 0 0 1-204.377345 204.377345c-47.32295 20.016524-97.6081 30.163865-149.461048 30.163865s-102.138098-10.147341-149.461048-30.163865a385.47252 385.47252 0 0 1-204.377345-204.377345c-20.016524-47.32295-30.163865-97.6081-30.163865-149.461048s10.147341-102.138098 30.163865-149.461048a385.47252 385.47252 0 0 1 204.377345-204.377345c47.32295-20.016524 97.6081-30.163865 149.461048-30.163865a387.379888 387.379888 0 0 1 59.193424 4.533611l-56.538282 22.035878A31.998984 31.998984 0 1 0 537.892156 265.232491l137.041483-53.402685a31.998984 31.998984 0 0 0 18.195855-41.434674L639.723197 33.357261a31.998984 31.998984 0 1 0-59.630529 23.23882l26.695923 68.502679a449.969005 449.969005 0 0 0-94.786785-10.060642c-60.465003 0-119.138236 11.8488-174.390489 35.217667a449.214005 449.214005 0 0 0-238.388457 238.388457c-23.361643 55.252253-35.22128 113.925486-35.22128 174.390489s11.8488 119.138236 35.217668 174.390489a449.214005 449.214005 0 0 0 238.388457 238.388457c55.252253 23.368867 113.925486 35.217667 174.390489 35.217667s119.138236-11.8488 174.390489-35.217667A449.210393 449.210393 0 0 0 924.784365 737.42522c23.368867-55.270316 35.217667-113.925486 35.217667-174.390489a31.998984 31.998984 0 0 0-32.002596-32.006209z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-shujudaochu-01" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M927.854938 288.030593a31.973697 31.973697 0 0 0-31.970084 31.998984v489.12423A86.66241 86.66241 0 0 1 809.14297 895.884854H214.85703a86.373415 86.373415 0 0 1-61.476486-25.380996C136.976459 854.09616 127.880338 832.342053 127.880338 809.14297v-489.12423A96.127 96.127 0 0 1 224.000113 223.971213h563.179228l-41.904291 42.243861a32.002596 32.002596 0 0 0 45.433644 45.08685l96.000565-96.766401a31.998984 31.998984 0 0 0-0.090311-45.155487l-95.99334-96.007789a32.006209 32.006209 0 0 0-45.256635 45.271085L786.745849 160.031044H224.000113A159.947958 159.947958 0 0 0 63.940169 320.000677v489.124231A150.566454 150.566454 0 0 0 214.85703 959.825022h594.28594A150.309971 150.309971 0 0 0 959.825022 809.14297v-489.12423a31.973697 31.973697 0 0 0-31.970084-31.988147z" fill="" ></path>' +
    '' +
    '<path d="M287.911382 639.997742V768.004516a31.970084 31.970084 0 1 0 63.940169 0v-128.006774a31.970084 31.970084 0 1 0-63.940169 0zM480.093133 384.002258v384.002258a31.970084 31.970084 0 1 0 63.940169 0V384.002258a31.970084 31.970084 0 1 0-63.940169 0zM671.91364 575.999774V768.004516a31.970084 31.970084 0 1 0 63.940169 0v-192.001129a31.970084 31.970084 0 1 0-63.940169-0.003613z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-weixiao" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M511.998194 64.00158c-247.423167 0-447.996613 200.573446-447.996614 447.996614S264.575027 959.99842 511.998194 959.99842s448.000226-200.577059 448.000226-448.000226S759.421361 64.00158 511.998194 64.00158zM865.90161 661.473692a382.654818 382.654818 0 1 1 22.35016-72.003133A383.930009 383.930009 0 0 1 865.90161 661.473692z" fill="" ></path>' +
    '' +
    '<path d="M383.821636 384.027545a31.970084 31.970084 0 0 0 31.970084-31.970085V288.059492a31.970084 31.970084 0 0 0-63.940169 0v63.997968a31.970084 31.970084 0 0 0 31.970085 31.970085zM639.943556 384.027545a31.970084 31.970084 0 0 0 31.970084-31.970085V288.059492a31.970084 31.970084 0 0 0-63.940169 0v63.997968a31.970084 31.970084 0 0 0 31.970085 31.970085zM799.999887 480.028109a31.970084 31.970084 0 0 0-31.970084 31.970085 256.027996 256.027996 0 1 1-512.059606 0 31.970084 31.970084 0 0 0-63.940169 0 319.968165 319.968165 0 1 0 639.939944 0 31.970084 31.970084 0 0 0-31.970085-31.970085z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-fanhui" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M532.526499 904.817574L139.506311 511.797385 532.526499 118.777197c12.258185-12.258185 12.432147-32.892131-0.187265-45.51052-12.707416-12.707416-32.995485-12.703323-45.511543-0.187265L75.166957 484.739123c-7.120165 7.120165-10.163477 17.065677-8.990768 26.624381-1.500167 9.755178 1.5104 20.010753 8.990768 27.491121l411.660734 411.660734c12.258185 12.258185 32.892131 12.432147 45.511543-0.187265 12.707416-12.707416 12.7023-32.995485 0.187265-45.51052z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-gengduo" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M492.675886 904.817574L885.696074 511.797385 492.675886 118.777197c-12.258185-12.258185-12.432147-32.892131 0.187265-45.51052 12.707416-12.707416 32.995485-12.703323 45.511543-0.187265l411.660734 411.660734c7.120165 7.120165 10.163477 17.065677 8.990768 26.624381 1.500167 9.755178-1.5104 20.010753-8.990768 27.491121L538.374694 950.515359c-12.258185 12.258185-32.892131 12.432147-45.511543-0.187265-12.707416-12.707416-12.703323-32.995485-0.187265-45.51052z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)